import Layout from '@/views/layout/Layout'
export default [
  {
    path: 'accountManage',
    component: Layout,
    meta: { title: '账号管理', icon: 'el-icon-document' },
    children: [
      {
        path: 'AccountList',
        component: () => import('@/views/baseSetting/accountManage/account/index'),
        meta: { title: '账户列表', icon: '' }
      },
      {
        path: 'AccountList_form',
        component: () => import('@/views/baseSetting/accountManage/account/AccountForm'),
        meta: { title: '账户类型管理', icon: '' },
        hidden: true
      }
    ]
  },
  {
    path: 'businessesManage',
    component: Layout,
    meta: { title: '商户管理', icon: 'el-icon-document' },
    children: [
      {
        path: 'BusinessesList',
        component: () => import('@/views/baseSetting/businessesManage/businesses/index'),
        meta: { title: '商户列表', icon: '' }
      },
      {
        path: 'BusinessesList_new',
        component: () => import('@/views/baseSetting/businessesManage/businesses/BusinessesForm.vue'),
        meta: { title: '新建商户', icon: '' },
        hidden: true
      },
      {
        path: 'BusinessesList_edit',
        component: () => import('@/views/baseSetting/businessesManage/businesses/BusinessesForm.vue'),
        meta: { title: '编辑商户', icon: '' },
        hidden: true
      }
    ]
  }
]
